@import '~ant-design-vue/es/style/themes/default.less';

html,
body,
#app, #root {
  height: 100%;
}

.card-box {
  padding-right: 15px;
  padding-left: 15px;
  margin-bottom: 10px;
}

.ant-pro-multi-tab {
  margin: -23px -24px -34px -24px !important;
}

.ant-pro-sider-menu-logo {
  h1{
    color: #fff;
    font-size: 15px;
    margin: 0 0 0 10px;
    font-family: monospace;
    vertical-align: middle;
  }

  img {
    height: 22px;
    width: 35px;
    vertical-align: middle;
  }
}
.colorWeak {
  filter: invert(80%);
}

.ant-layout.layout-basic {
  height: 100vh;
  min-height: 100vh;
}
.ant-layout-footer {
  padding: 0px 0px;
  color: rgba(0, 0, 0, 0.65);
  font-size: 1px;
  background: #f0f2f5;
}
.ant-pro-sider-menu{
  flex: 0 0 200px;
  max-width: 200px;
  min-width: 200px;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

.ant-form-item {
  margin-bottom: 15px;
}
// 数据列表 样式
.table-alert {
  margin-bottom: 10px;
}
// 数据列表 操作
.table-operator {
  margin-bottom: 11px;

  button {
    margin-right: 8px;
  }
}
// 数据列表 搜索条件
.table-page-search-wrapper {

  .ant-form-inline {
    .ant-form-item {
      display: flex;
      margin-bottom: 24px;
      margin-right: 0;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }

      > .ant-form-item-label {
        line-height: 32px;
        padding-right: 8px;
        width: auto;
      }
      .ant-form-item-control {
        height: 32px;
        line-height: 32px;
      }
    }
  }

  .table-page-search-submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}
